# ==============================
# 系统基础配置(全局通用参数)
# ==============================
# 系统名称(匹配项目主题"GT - OOP Management"的LMS定位)
SYSTEM_NAME = "GT-OOP Learning Management System (LMS)"
# 系统版本(标识项目迭代,便于交付文档追溯)
SYSTEM_VERSION = "1.0.0"

# ==============================
# 2. 用户管理模块配置(适配OOP封装与安全要求)
# ==============================
# 密码加密配置(符合文档"封装敏感数据"技术要求,文档1-33)
PASSWORD_SALT = "GT_OOP_LMS_2024_SALT_!@#"  # 密码加密盐值(增强安全性,避免明文存储)
PASSWORD_HASH_ALGORITHM = "CAESAR"  # 加密算法(改为凯撒加密)

# 数据存储相关
DATA_FILE_PATH = "data.json"

# CLI相关配置
CLI_PROMPT = "LMS> "
CLI_EXIT_COMMANDS = ['exit', 'quit', 'q']

# 用户角色定义
USER_ROLES = {
    "STUDENT": "student",
    "TEACHER": "teacher",
    "ADMINISTRATOR": "administrator"
}

# 输入验证配置
USERNAME_MIN_LENGTH = 3
USERNAME_MAX_LENGTH = 15
PASSWORD_MIN_LENGTH = 6
PASSWORD_MAX_LENGTH = 20

# 课程管理配置
MAX_COURSES_PER_STUDENT = 5
MAX_STUDENTS_PER_COURSE = 30